package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资源信息对象 teaching_res
 * 
 * @author ruoyi
 * @date 2022-03-21
 */
public class TeachingRes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资源序号 */
    private Long resourcesId;

    /** 发布教师 */
    @Excel(name = "发布教师")
    private Long teacherId;

    /** 标识图 */
    @Excel(name = "标识图")
    private String imageUrl;

    /** 发布学院 */
    @Excel(name = "发布学院")
    private Long collegeId;

    /** 发布班级 */
    @Excel(name = "发布班级")
    private Long classId;

    /** 发布内容 */
    @Excel(name = "发布内容")
    private String memoryUrl;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String memo;

    /** 删除标识 */
    @Excel(name = "删除标识")
    private Long deleteSign;

    /** 分类 */
    @Excel(name = "分类")
    private Long classificationId;

    public void setResourcesId(Long resourcesId) 
    {
        this.resourcesId = resourcesId;
    }

    public Long getResourcesId() 
    {
        return resourcesId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setCollegeId(Long collegeId) 
    {
        this.collegeId = collegeId;
    }

    public Long getCollegeId() 
    {
        return collegeId;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setMemoryUrl(String memoryUrl) 
    {
        this.memoryUrl = memoryUrl;
    }

    public String getMemoryUrl() 
    {
        return memoryUrl;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setDeleteSign(Long deleteSign) 
    {
        this.deleteSign = deleteSign;
    }

    public Long getDeleteSign() 
    {
        return deleteSign;
    }
    public void setClassificationId(Long classificationId) 
    {
        this.classificationId = classificationId;
    }

    public Long getClassificationId() 
    {
        return classificationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resourcesId", getResourcesId())
            .append("teacherId", getTeacherId())
            .append("imageUrl", getImageUrl())
            .append("collegeId", getCollegeId())
            .append("classId", getClassId())
            .append("memoryUrl", getMemoryUrl())
            .append("memo", getMemo())
            .append("deleteSign", getDeleteSign())
            .append("classificationId", getClassificationId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
